package com.dkm.biz.gl.persistence.entity;
import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:skg_gl_validate Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:蔡东渠
 * 创建时间:2015-03-06 11:48:32
 */
 @ITable(name="validate",code="skg_gl_validate")
public class ValidateTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="name",column="name_")
	protected String  name; 		/*名称*/
	@IField(name="key",column="key_")
	protected String  key; 		/*业务键*/
	@IField(name="require",column="require_")
	protected char  require; 		/*是否必填*/
	@IField(name="requireMsg",column="require_msg_")
	protected String  requireMsg; 		/*必填返回信息*/
	@IField(name="length",column="length_")
	protected String  length; 		/*值长*/
	@IField(name="lengthMsg",column="length_msg_")
	protected String  lengthMsg; 		/*值长信息*/
	@IField(name="regx",column="regx_")
	protected String  regx; 		/*正则表达式*/
	@IField(name="regxMsg",column="regx_msg_")
	protected String  regxMsg; 		/*正则表达式信息*/
	@IField(name="ajax",column="ajax_")
	protected String  ajax; 		/*AJAX URL*/
	@IField(name="ajaxMsg",column="ajax_msg_")
	protected String  ajaxMsg; 		/*AJAX URL信息*/
	@IField(name="equal",column="equal_")
	protected String  equal; 		/*相等*/
	@IField(name="equalMsg",column="equal_msg_")
	protected String  equalMsg; 		/*相等信息*/
	@IField(name="comment",column="comment_")
	protected String  comment; 		/*描述说明*/
	
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setName(String name) 
	{
		this.name = name;
	}
	/**
	 * 返回 名称
	 * @return
	 */
	public String getName() 
	{
		return this.name;
	}
	public void setKey(String key) 
	{
		this.key = key;
	}
	/**
	 * 返回 业务键
	 * @return
	 */
	public String getKey() 
	{
		return this.key;
	}
	public void setRequire(char require) 
	{
		this.require = require;
	}
	/**
	 * 返回 是否必填
	 * @return
	 */
	public char getRequire() 
	{
		return this.require;
	}
	public void setRequireMsg(String requireMsg) 
	{
		this.requireMsg = requireMsg;
	}
	/**
	 * 返回 必填返回信息
	 * @return
	 */
	public String getRequireMsg() 
	{
		return this.requireMsg;
	}
	public void setLength(String length) 
	{
		this.length = length;
	}
	/**
	 * 返回 值长
	 * @return
	 */
	public String getLength() 
	{
		return this.length;
	}
	public void setLengthMsg(String lengthMsg) 
	{
		this.lengthMsg = lengthMsg;
	}
	/**
	 * 返回 值长信息
	 * @return
	 */
	public String getLengthMsg() 
	{
		return this.lengthMsg;
	}
	public void setRegx(String regx) 
	{
		this.regx = regx;
	}
	/**
	 * 返回 正则表达式
	 * @return
	 */
	public String getRegx() 
	{
		return this.regx;
	}
	public void setRegxMsg(String regxMsg) 
	{
		this.regxMsg = regxMsg;
	}
	/**
	 * 返回 正则表达式信息
	 * @return
	 */
	public String getRegxMsg() 
	{
		return this.regxMsg;
	}
	public void setAjax(String ajax) 
	{
		this.ajax = ajax;
	}
	/**
	 * 返回 AJAX URL
	 * @return
	 */
	public String getAjax() 
	{
		return this.ajax;
	}
	public void setAjaxMsg(String ajaxMsg) 
	{
		this.ajaxMsg = ajaxMsg;
	}
	/**
	 * 返回 AJAX URL信息
	 * @return
	 */
	public String getAjaxMsg() 
	{
		return this.ajaxMsg;
	}
	public void setEqual(String equal) 
	{
		this.equal = equal;
	}
	/**
	 * 返回 相等
	 * @return
	 */
	public String getEqual() 
	{
		return this.equal;
	}
	public void setEqualMsg(String equalMsg) 
	{
		this.equalMsg = equalMsg;
	}
	/**
	 * 返回 相等信息
	 * @return
	 */
	public String getEqualMsg() 
	{
		return this.equalMsg;
	}
	public void setComment(String comment) 
	{
		this.comment = comment;
	}
	/**
	 * 返回 描述说明
	 * @return
	 */
	public String getComment() 
	{
		return this.comment;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("name", this.name) 
		.append("key", this.key) 
		.append("require", this.require) 
		.append("requireMsg", this.requireMsg) 
		.append("length", this.length) 
		.append("lengthMsg", this.lengthMsg) 
		.append("regx", this.regx) 
		.append("regxMsg", this.regxMsg) 
		.append("ajax", this.ajax) 
		.append("ajaxMsg", this.ajaxMsg) 
		.append("equal", this.equal) 
		.append("equalMsg", this.equalMsg) 
		.append("comment", this.comment) 
		.toString();
	}
}